//package com.cloud.lan.white.api.white;
//
//import com.cloud.lan.entity.base.BaseResponse;
//import com.cloud.lan.white.api.dto.req.BaseReq;
//import com.cloud.lan.white.api.dto.req.DelReq;
//import com.cloud.lan.white.api.dto.req.LanUserWhiteListReq;
//import com.cloud.lan.white.service.ILanUserWhiteListService;
//
//import org.springframework.web.bind.annotation.GetMapping;
//import org.springframework.web.bind.annotation.RequestBody;
//import org.springframework.web.bind.annotation.RequestHeader;
//import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.bind.annotation.RequestMethod;
//import org.springframework.web.bind.annotation.RestController;
//
//import javax.annotation.Resource;
//
///**
// * 白名单管理入口
// * @author ErKang
// * @date Created in 2021/12/5 04:24
// * @title TestApi.java
// * Department: Product development
// */
//@RestController
//@RequestMapping(value = {"/v1/white/user/white/"}, method = {RequestMethod.GET, RequestMethod.POST}, produces = {"application/json"})
//public class LanUserWhiteListManageApi {
//
//    @Resource
//    ILanUserWhiteListService lanUserWhiteListService;
//
//    @RequestMapping("manageList")
//    public BaseResponse<Object> manageList(LanUserWhiteListReq req) {
//        return lanUserWhiteListService.manageList(req);
//    }
//
//    @RequestMapping("add")
//    public BaseResponse<Object> add(@RequestHeader(BaseReq.ut) String token, @RequestBody LanUserWhiteListReq req) {
//        req.setToken(token);
//        return lanUserWhiteListService.add(req);
//    }
//
//    @RequestMapping("update")
//    public BaseResponse<Object> update(@RequestHeader(BaseReq.ut) String token, @RequestBody LanUserWhiteListReq req) {
//        req.setToken(token);
//        return lanUserWhiteListService.update(req);
//    }
//
//    @GetMapping("delete")
//    public BaseResponse<Object> delete(@RequestHeader(BaseReq.ut) String token, DelReq req) {
//        req.setToken(token);
//        return lanUserWhiteListService.delete(req);
//    }
//}
